package com.finance.cooperate.dao.entity.primary;

import com.finance.cooperate.dao.support.pojo.BaseVO;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @ClassName Contacts
 * @Description 最新联系人
 * @Author shen
 * @Date 2023/8/6 16:13
 * @Modify ...
 */
@Entity
@Table(name = "p_current_contacts")
@Data
public class Contacts extends BaseVO {

    private static final long serialVersionUID = 6612134267895129022L;

    // ID
    @Id
    @Column(name = "id")
    private Long id;

    // 名称
    @Column(name = "name")
    private String name;

    // 手机号码
    @Column(name = "phone")
    private String phone;

    // 用户Id
    @Column(name = "user_id")
    private String userId;

    // 设备Id
    @Column(name = "device_id")
    private String deviceId;

    // 创建时间
    @Column(name = "create_time")
    private Date createTime;


}
